<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>查找平均值</title>
    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.5/css/bootstrap.min.css" />
    <script src="/webjars/jquery/3.1.1/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<table  class="table table-bordered  table-striped table-hover table-condensed">
    <tr>
        <th>学生姓名</th>

        <th>课程名字</th>

    </tr>
    <!--遍历存放在map集合中的课程信息-->
    <tr th:each="avg:${course}">

            <td th:text="${avg.key}">222</td>
            <td th:text="${avg.value}">33</td>

    </tr>


</table>

<a class="btn btn-danger" th:href="@{/}" >跳转到首页</a><br/><br/>


</div>
</div>

</body>
</html>